clc;
close all
% Bow data record
% 8192,L2,[0.831250000000000]/L1,[0.737500000000000]
% 8192,L2,[0.843750000000000]/ L1,[0.768750000000000]
% 4096,L2,[0.837500000000000]/L1,[0.825000000000000]
% 2048,L2,[0.825000000000000]/L1,[0.812500000000000]
% 1024,L2,[0.825000000000000]/L1,[0.818750000000000]
x = [1024,2048,4096,8192];
y2 = [0.825000000000000,0.825000000000000,0.837500000000000,0.843750000000000];
y1 = [0.818750000000000,0.812500000000000,0.825000000000000,0.768750000000000];
semilogy(x,y1,'-o','linewidth',3);
hold on
semilogy(x,y2,'--d','linewidth',3);
grid on
xlabel('Cluster Number')
ylabel('Accuracy')
set(gca,'fontsize',12)
legend({'L1 Norm','L2 Norm'})
set(gca,'XTick',x)

% VLAD data record
% 64,L2,[0.943750000000000]
% 32,L2,[0.912500000000000]
% 16 L2,[0.906250000000000]
% 8 L2,[0.893750000000000]
figure(2)
x = [8 16 32 64];
y2 = [0.893750000000000,0.906250000000000,0.912500000000000,0.943750000000000];
semilogy(x,y2,'-o','linewidth',3);
grid on
xlabel('Cluster Number')
ylabel('Accuracy')
set(gca,'fontsize',12)
legend({'L2 Norm'})
set(gca,'XTick',x)